package com.spring5.learning.strategy;

/**
 * @author xin
 * @version 1.0
 */
public enum MemberType {

    GENERAL(1, "一般用户"), VIP(2, "VIP用户"), SUPER(3, "超级用户");


    private int index;

    private String desc;

    MemberType(int index, String desc) {
        this.index = index;
        this.desc = desc;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
